package yl.hs.bmipfull.pojo.finance;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 谢东
 * @apiNote 其他支出记录实体类
 * @since 2023年09月08日 11时00分31秒
 */
@DBTable(disName = "其他支出记录", mapCode = "other_expenses_record")
@Data
public class OtherExpensesRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "其他支出记录编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 时间
     */
    private Date creatTime;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 支出类型
     */
    private String expenditureType;
    /**
     * 备注
     */
    private String remark;
    /**
     * 状态
     */
    private Short state;

}